@import url('./reset.css');
@import url('./iconfont/iconfont.css');
html,body,#app{
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    background-color: #E9EDF1;
    min-width: 1366px;
}

@font-face {
    font-family: bigtitle; //大标题
    src: url('./font/锐字真言体免费商用.ttf');
  }
  @font-face {
    font-family: number; //大标题
    src: url('./font/DIN Alternate Bold.ttf');
  }
.el-card{
    margin-top: 20px;
}
.btn-blue{
    background: #0051c8 !important; 
    border: 1px solid #0051c8 !important;
}

.btn-font-blue{
    color: #0051c8 !important;
}
.btn-font-red{
    color: red !important;
}
// 公共标题-1
.public-title-1 {
    line-height: 25px;
    color: #0051c8;
    font-size: 14px;
    padding-left: 10px;
    position: relative;
    margin-bottom: 20px;
    font-weight: bold;
    &::after {
      content: '';
      position: absolute;
      left: 0;
      top: 50%;
      transform: translateY(-50%);
      width: 3px;
      height: 56%;
      background: #0051c8;
    }
  }
  // 地图
.public-map {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;
    overflow: hidden;
    background: #fff;

    .public-map-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

    .public-map-legend {
        position: absolute;
        right: 20px;
        bottom: 20px;
        background: #fff;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
        user-select: none;
        // border-radius: 4px;
        overflow: hidden;

        .legend-title {
            width: 100%;
            height: 40px;
            line-height: 40px;
            text-align: center;
            background: #fff;
            color: #1890ff;
            font-weight: bold;
            font-size: 12px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        }

        .legend-item {
            padding: 0 20px;
            height: 30px;
            min-width: 128px;
            color: rgba(0, 0, 0, 0.85);
            line-height: 30px;
            cursor: pointer;
            display: flex;
            align-items: center;
            font-size: 12px;

            img {
                width: 20px;
                height: 20px;
                margin-right: 5px;
            }

            .road {
                display: inline-block;
                width: 30px;
                height: 10px;
                background: #999;
                margin-right: 10px;
            }

            span {
                white-space: nowrap;
                vertical-align: unset;
            }
        }

        .legend-item-active {
            background: #fff;
        }

    }

    .public-map-search {
        position: absolute;
        right: 84px;
        top: 20px;
        width: 250px;
        background: #ffffff;
        border: 1px solid #f5f5f5;
        border-radius: 4px;
        box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);

        input {
            padding-right: 60px;
            padding-left: 10px;
            border: 0 !important;
            background: transparent;
            height: 32px;
            width: 100%;
            color: #333;
        }

        .iconfont:nth-of-type(1) {
            position: absolute;
            right: 20px;
            top: 0;
            width: 32px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            color: #333;
            cursor: pointer;
        }

        .iconfont:nth-of-type(2) {
            position: absolute;
            right: 0;
            top: 0;
            display: block;
            width: 32px;
            height: 32px;
            line-height: 32px;
            text-align: center;
            color: rgba(0, 0, 0, 0.65);
            font-size: 20px;
            cursor: pointer;

        }

        .amap-sug-result {
            position: absolute;
            top: 50px;
            left: 0 !important;
            right: 0 !important;
            width: unset;
        }

        .result-list {
            position: absolute;
            top: 40px;
            left: 0;
            width: 100%;
            background: #FEFEFE;
            border-radius: 2px;
            border: 1px solid #dddddd;
            box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
            max-height: 320px;
            overflow-y: auto;
            display: none;

            .item {
                padding: 0 5px;
                font-size: 12px;
                line-height: 32px;
                color: #333;
                overflow: hidden;
                white-space: nowrap;
                text-overflow: ellipsis;
                cursor: pointer;
                background: #fff;
            }

            .item:hover {
                background: #e6f7ff;
            }

            .nodata {
                padding: 0 5px;
                font-size: 12px;
                line-height: 32px;
                color: #333;
                text-align: center;
            }

            .active {
                border: 1px solid #1890ff;
            }
        }
    }

    .public-map-toolbar {
        position: absolute;
        right: 20px;
        top: 20px;
        background-color: transparent;
        -moz-user-select: none;
        /* Firefox私有属性 */
        -webkit-user-select: none;
        /* WebKit内核私有属性 */
        -ms-user-select: none;
        /* IE私有属性(IE10及以后) */
        -khtml-user-select: none;
        /* KHTML内核私有属性 */
        -o-user-select: none;
        /* Opera私有属性 */
        user-select: none;

        /* CSS3属性 */
        >div {
            background: #fff;
            box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.15);
            margin-bottom: 10px;
            border-radius: 2px;
            padding: 0 6px;
        }

        i {
            display: block;
            width: 22px;
            height: 34px;
            line-height: 34px;
            color: #333;
            font-size: 18px;
            text-align: center;
            cursor: pointer;
        }

        i:not(:last-child) {
            border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        }

        i:hover {
            color: #1890ff;
        }

        i.active {
            color: #1890ff;
        }

        span {
            padding: 7px 0px;
            color: #316BEE;
            display: block;
            background-color: transparent;
            text-align: center;
            font-size: 14px;
            line-height: 20px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.15);
        }
    }

}
.clearfix::after{
    content: "";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}
.clearfix{
    *zoom:1;
}
// 滚动条
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    background-color: #fff;
  }
  
  /*定义滚动条轨道 内阴影+圆角*/
  
  ::-webkit-scrollbar-track {
    background: #fff;
  }
  
  /*定义滑块 内阴影+圆角*/
  ::-webkit-scrollbar-thumb {
    border-radius: 4px;
    background-color: #ddd;
  }
  
  ::-webkit-scrollbar-thumb:hover {
    border-radius: 4px;
    background-color: #ddd;
  }
